package com.billdimmick.merkabah;

/**
 * Indicates that the encryption, decryption, signing, or 
 * verification of a signature has failed in communications.
 * The following codes indicate the type of failure:
 * <table style="border:1px solid black" cellpadding="4" cellspacing="0" width="60%"> 
 * <tr><th width="30%" style="border-bottom:1px solid black">Code</th><th style="border-bottom:1px solid black">Cause</th></tr>
 * <tr><td style="border-bottom:1px solid black">PrivateKeyNotFound</td><td style="border-bottom:1px solid black">A private key cannot be found for signing or decryption.</td></tr>
 * <tr><td style="border-bottom:1px solid black">PublicKeyNotFound</td><td style="border-bottom:1px solid black">A public key cannot be found for encryption.</td></tr>
 * <tr><td style="">VerifyFailed</td><td style="">Verification of the signature has failed.</td></tr>
 * </table>
 * @author Bill Dimmick <me@billdimmick.com>
 *
 */
public class CryptographicFailureException extends SQSException {

	private static final long serialVersionUID = -5895641063892112733L;

	public CryptographicFailureException(final String code, final String message) {
		super(code, message, null);
	}	
}
